package com.ruoyi.stock.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 股票基础信息对象 stock_basic_info
 * 
 * @author lsx
 * @date 2025-01-06
 */
public class StockBasicInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String stockCode;

    /** 股票名称 */
    @Excel(name = "股票名称")
    private String stockName;

    /** 交易所 */
    private String exchange;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 拼音缩写 */
    private String pinyinShort;

    /** 股票全称 */
    private String fullName;

    /** 英文全称 */
    private String englishFullName;

    /** 交易所代码 */
    @Excel(name = "交易所代码")
    private String exchangeCode;

    /** 上市状态 */
    @Excel(name = "上市状态")
    private String listingStatus;

    /** 上市日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上市日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date listingDate;

    /** 实控人名称 */
    @Excel(name = "实控人名称")
    private String actualController;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }
    public void setStockName(String stockName) 
    {
        this.stockName = stockName;
    }

    public String getStockName() 
    {
        return stockName;
    }
    public void setExchange(String exchange) 
    {
        this.exchange = exchange;
    }

    public String getExchange() 
    {
        return exchange;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setPinyinShort(String pinyinShort) 
    {
        this.pinyinShort = pinyinShort;
    }

    public String getPinyinShort() 
    {
        return pinyinShort;
    }
    public void setFullName(String fullName) 
    {
        this.fullName = fullName;
    }

    public String getFullName() 
    {
        return fullName;
    }
    public void setEnglishFullName(String englishFullName) 
    {
        this.englishFullName = englishFullName;
    }

    public String getEnglishFullName() 
    {
        return englishFullName;
    }
    public void setExchangeCode(String exchangeCode) 
    {
        this.exchangeCode = exchangeCode;
    }

    public String getExchangeCode() 
    {
        return exchangeCode;
    }
    public void setListingStatus(String listingStatus) 
    {
        this.listingStatus = listingStatus;
    }

    public String getListingStatus() 
    {
        return listingStatus;
    }
    public void setListingDate(Date listingDate) 
    {
        this.listingDate = listingDate;
    }

    public Date getListingDate() 
    {
        return listingDate;
    }
    public void setActualController(String actualController) 
    {
        this.actualController = actualController;
    }

    public String getActualController() 
    {
        return actualController;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stockCode", getStockCode())
            .append("stockName", getStockName())
            .append("exchange", getExchange())
            .append("industry", getIndustry())
            .append("pinyinShort", getPinyinShort())
            .append("fullName", getFullName())
            .append("englishFullName", getEnglishFullName())
            .append("exchangeCode", getExchangeCode())
            .append("listingStatus", getListingStatus())
            .append("listingDate", getListingDate())
            .append("actualController", getActualController())
            .toString();
    }
}
